package com.sdx.console.spread.dao;

import com.sdx.console.spread.entity.SpreadShare;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

@SqlResource("spread.share")
public interface SpreadShareDao extends BaseMapper<SpreadShare> {
    public PageQuery<SpreadShare> queryByCondition(PageQuery page);

    public List<SpreadShare> selectChannels(Integer tenantId);
}
